home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 December / buyer-1295.iso / alphablo / blox.1 / Break Even Analysis.csf < prev    next >
Text File  |  1995-07-26  |  3KB  |  123 lines

  1. BreakEven Analysis,176,85
  2. rem (C) Copyright 1995 AlphaBlox Corporation
  3.  
  4. BEGIN
  5. rem button attributes
  6. // memory
  7.     FONT,Memory,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  8.     TEXTCOLOR,Memory,0,0,0
  9.     KEYCOLOR,Memory,0,255,0
  10.  
  11.  
  12. // numbers
  13.     FONT,Number,-17,0,0,0,900,0,0,0,0,1,2,2,34,Arial
  14.     TEXTCOLOR,Number,255,255,255
  15.     KEYCOLOR,Number,0,0,255
  16.  
  17.  
  18. // ops
  19.     FONT,Ops,-17,0,0,0,900,0,0,0,0,1,2,2,34,Arial
  20.     TEXTCOLOR,Ops,255,255,255
  21.     KEYCOLOR,Ops,255,0,255
  22.  
  23. // clear
  24.     FONT,Clear,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  25.     TEXTCOLOR,Clear,0,0,0
  26.     KEYCOLOR,Clear,255,255,0
  27.  
  28. //enter
  29.     FONT,Enter,17,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  30.     TEXTCOLOR,Enter,255,255,255
  31.     KEYCOLOR,Enter,255,0,0
  32.  
  33. //symbols
  34.     BUTTONBITMAP,backspace,backspace,0
  35.     BUTTONBITMAP,root,root,0
  36.     BUTTONBITMAP,square,square,0
  37.  
  38. //business
  39.     FONT,Business,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  40.     TEXTCOLOR,Business,0,0,0
  41.     KEYCOLOR,Business,192,192,192
  42.     
  43.     
  44.     
  45.  
  46. //custom
  47.     FONT,Custom,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  48.     TEXTCOLOR,Custom,255,255,255
  49.     KEYCOLOR,custom,0,128,128
  50.  
  51.  
  52. // Solver position and group    
  53.     FONT,Solver,-8,0,0,0,400,0,0,0,0,1,2,2,34,Ms Sans Serif
  54.     TEXTCOLOR,Solver,255,255,255
  55.     KEYCOLOR,Solver,0,0,255    
  56.     SOLVER,178,21
  57.  
  58. //Global keyblox requirements
  59.     MODE,4
  60.     BASE,0
  61.     FONT,Title,16,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  62.     TEXTCOLOR,Title,0,0,0
  63.     FONT,Title2,16,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  64.     TEXTCOLOR,Title2,255,255,255
  65.  
  66.     BITMAP,22,22,9,9,AlphaBlox,0
  67.  
  68.     TEXT,36,23,90,8,Title,"AlphaBlox"
  69.  
  70.     
  71.     TEXT,133,7,90,8,Title,"Break Even"    
  72.  
  73.  
  74. rem main keypad
  75.     LCD,4,3,126,15
  76.     BUTTON,4,21,15,11,Memory,"M+",1,memory plus
  77.     BUTTON,4,33,15,11,Memory,"M-",1,memory minus
  78.     BUTTON,4,45,15,11,Memory,"MR",1,memory recall
  79.     BUTTON,4,57,15,11,Memory,"MC",1,memory clear
  80.     BUTTON,4,69,15,11,Memory,"MS",1,memory store
  81.  
  82.     BUTTON,22,33,15,11,Number,"7",0,7
  83.     BUTTON,22,45,15,11,Number,"4",0,4
  84.     BUTTON,22,57,15,11,Number,"1",0,1
  85.     BUTTON,22,69,15,11,Number,"0",0,0
  86.     BUTTON,40,33,15,11,Number,"8",0,8
  87.     BUTTON,40,45,15,11,Number,"5",0,5
  88.     BUTTON,40,57,15,11,Number,"2",0,2
  89.     BUTTON,40,69,15,11,Number,"+/-",1,plus minus
  90.     BUTTON,58,33,15,11,Number,"9",0,9
  91.     BUTTON,58,45,15,11,Number,"6",0,6
  92.     BUTTON,58,57,15,11,Number,"3",0,3
  93.     BUTTON,58,69,15,11,Number,".",0,.
  94.  
  95.     BUTTON,76,33,15,11,Ops,"/",1,divide
  96.     BUTTON,76,45,15,11,Ops,"x",1,times
  97.     BUTTON,76,57,15,11,Ops,"+",1,plus
  98.     BUTTON,76,69,15,11,Ops,"-",1,minus
  99.  
  100.     BUTTON,76,21,15,11,backspace," ",1,backspace
  101.     BUTTON,94,21,15,11,Clear,"CE",1,clear    
  102.     BUTTON,94,33,15,11,Business,"Tax",1,tax
  103.     BUTTON,94,45,15,11,Business,"%",1,percentage
  104.     BUTTON,94,57,15,11,Enter,"Ent",1,enter
  105.     BUTTON,94,69,33,11,Enter,"=",1,equals
  106.  
  107.     BUTTON,112,21,15,11,Clear,"AC",1,clear all
  108.     BUTTON,112,33,15,11,square," ",1,square
  109.     BUTTON,112,45,15,11,root," ",1,square root    
  110.     BUTTON,112,57,15,11,Business,"1/x",1,invert
  111.  
  112.  
  113. rem Breakeven
  114.     BUTTON,130,21,40,11,Custom,"Units sold",2,units sold=(&fixed costs&+&profit&)/(&unit price&-&variable costs&)
  115.     BUTTON,130,33,40,11,Custom,"Unit price",2,unit price=&variable costs&+((&profit&+&fixed costs&)/&units sold&)
  116.     BUTTON,130,45,40,11,Custom,"Variable costs",2,variable costs=&unit price&-((&profit&+&fixed costs&)/&units sold&)
  117.     BUTTON,130,57,40,11,Custom,"Fixed costs",2,fixed costs=&units sold&*(&unit price&-&variable costs&)/&profit&
  118.     BUTTON,130,69,40,11,Custom,"Profit",2,profit=&units sold&*(&unit price&-&variable costs&)-&fixed costs&
  119.  
  120.  
  121.  
  122. END
  123.